package survivial;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class ModelCampfire extends ModelBase
{
    public ModelRenderer log1;
    public ModelRenderer log2;

    public ModelCampfire()
    {
    	this.log1 = new ModelRenderer(this, 0, 0);
        this.log1.addBox(-7F, .1F, -8, 14, 3, 3, 0.0F);
        this.log1.addBox(-1.5F, 0, -13F, 3, 3, 14, 0.0F);
        
        //this.log1.rotateAngleX = 0.5f;
        //this.log2 = new ModelRenderer(this, 0, 0); // was (this, 0, 14)
        //this.log2.addBox(-1.0F, -2.0F, -1.0F, 2, 14, 2, 0.0F);
    }

    /**
     * Renders the campfire model through TileEntityCampfireRenderer
     */
    public void renderCampfire()
    {
        this.log1.render(0.1f);
        //this.log2.render(0.0625F);
    }
}
